check update directory